<template>
	<view>
		<!-- 页面标题头begin -->
		<view class="smart-page-head">
			<view class="smart-page-head-litle">progress进度条</view>
		</view>
		<!-- 页面标题头end -->
		<view class="main">
			<progress :percent="p" active="true" activeColor="#4CD964" stroke-width="20"></progress>
		</view>
		<button type="primary" @click="setProgress{}">设置</button>
	</view>

	
</template>

<script>
	export default{
		data(){
			return{
				p:5
			}
		},
		methods: {
			setProgress(){
				console.log('setting...');
				this.p=00;
			}
		}
	}
</script>

<style>
</style>